package com.ruoyi.common.integrate.domain;

import com.ruoyi.common.core.domain.entity.SysDept;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author: MMDZ
 * @Desc: TODO 企业微信的部门实体
 */
public class Department {
    private Long id;
    private String name;
    private Long parentid;
    private Long order;
    private List department_leader;
    private List<Department> children = new ArrayList<Department>();

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getParentid() {
        return parentid;
    }

    public void setParentid(Long parentid) {
        this.parentid = parentid;
    }

    public Long getOrder() {
        return order;
    }

    public void setOrder(Long order) {
        this.order = order;
    }

    public List getDepartment_leader() {
        return department_leader;
    }

    public void setDepartment_leader(List department_leader) {
        this.department_leader = department_leader;
    }

    public List<Department> getChildren() {
        return children;
    }

    public void setChildren(List<Department> children) {
        this.children = children;
    }

    @Override
    public String toString() {
        return "Department{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", parentid=" + parentid +
                ", order=" + order +
                ", department_leader=" + department_leader +
                ", children=" + children +
                '}';
    }
}
